/* 主编辑区域的测试数据
 * EditStagePage.js
 */

 const pageData1={
 	id:'page_1',
    pageNum:1,//页码
    attributes: {
        swipeForbidden: false,   //当页是否禁止滑动
        background: "",   	//背景色
        backgroundOpacity: 1,  //背景透明度
    },
    components:{
   		'label_1234':{
   			id:'label_1234',
   		    type: "label", 
            name: "文字显示", 
            compNum:1,
            hidden: false,
            surface:{	
                x: 56, 	
                y: 129, 	
                width: 141, 	
                height: 42, 	
                rotate:0,//角度
				opacity:0.3,//透明度
                background:'#00ff00',//背景色
                //边框设置
           		borderRadius: 0, 	
                border: "solid", 	
                borderSize: 0, 	
                borderColor: "#000000", 	
            },
            attributes:{
            	textAlign:'left',//对齐方式
				lineHeight: 1.6,//行高
                fontFamily:'KaiTi',//字体
				fontSize:'24',//字体大小
				fontColor:'#000000',//字体颜色
				bold:false,//加粗
				italic:true,//斜体
				underline:false,//下划线
				contentEditable:true,//内容可编辑
				content:'文本框' //内容
            },
            animations: [ ],  //动画
            events: [ ]  //事件
   		},
   		'label_2234':{
   			id:'label_2234',
   		    type: "label", 
            name: "文本框",
            compNum:2,
            hidden: false,
            surface:{	
                x: 100, 	
                y: 200, 	
                width: 180, 	
                height: 60, 	
                rotate:0,//角度
				opacity:1,//透明度
                background:'',//背景色
           		borderRadius: 0,
                border: "double", 	
                borderSize: 0, 	
                borderColor: "#000000", 	
            },
            attributes:{
            	textAlign:'center',//对齐方式
				lineHeight: 2,//行高
                fontFamily:'微软雅黑',//字体
				fontSize:'29',//字体大小
				fontColor:'#000000',//字体颜色
				bold:false,//加粗
				italic:false,//斜体
				underline:false,//下划线
				contentEditable:true,
				content:'文本框内容二' //内容
            },
            animations: [ ],  //动画
            events: [ ]  //事件
   		}

    }

}


const pageData2={
	id:'page_2',
    pageNum:2,//页码
    attributes: {
        swipeForbidden: false,   //当页是否禁止滑动
        background: "url(http://img.static.g.jiaxunyouneng.com/5783a639a0d7a.jpg) center center no-repeat",   	//背景色
        backgroundOpacity: 1  //背景透明度
    },
    components:{
   		'label_3234':{
   			id:'label_3234',
   		    type: "label", 
            name: "文字显示", 
            compNum:1,
            hidden: false,
            surface:{	
                x: 200, 	
                y: 100, 	
                width: 188, 	
                height: 66, 	
                rotate:58,//角度
				opacity:0.5,//透明度
                background:'#00ff00',//背景色
                //边框设置
           		borderRadius: 0, 	
                border: "solid", 	
                borderSize: 1, 	
                borderColor: "#000000", 	
            },
            attributes:{
            	textAlign:'left',//对齐方式
				lineHeight: 2,//行高
                fontFamily:'',//字体
				fontSize:'20',//字体大小
				fontColor:'#ff2600',//字体颜色
				bold:true,//加粗
				italic:true,//斜体
				underline:false,//下划线
				contentEditable:true,
				content:'第二页面' //内容
            },
            animations: [ ],  //动画
            events: [ ]  //事件
   		},
   		'label_4234':{
   			id:'label_4234',
   		    type: "label", 
            name: "文本框22", 
            compNum:2,
            hidden: false,
            surface:{	
                x: 100, 	
                y: 330, 	
                width: 200, 	
                height: 50, 	
                rotate:0,//角度
				opacity:1,//透明度
                background:'#F0F0F0',//背景色
           		borderRadius: 0,
                border: "solid", 	
                borderSize: 1, 	
                borderColor: "#000000", 	
            },
            attributes:{
            	textAlign:'center',//对齐方式
				lineHeight: 2,//行高
                fontFamily:'',//字体
				fontSize:'29',//字体大小
				fontColor:'#000000',//字体颜色
				bold:false,//加粗
				italic:false,//斜体
				underline:false,//下划线
				contentEditable:true,
				content:'文本框内容三' //内容
            },
            animations: [ ],  //动画
            events: [ ]  //事件
   		},
        'image_4234':{
            id:'image_4234',
            type: "image", 
            name: "图片", 
            compNum:3,
            hidden: false,
            surface:{   
                x: 30,
                y: 110,
                width: 200,   
                height: 200,
                rotate:0,//角度
                opacity:1,//透明度 1表示完全不透明
                background:'',//背景色
                //边框设置
                borderRadius: 0,    
                border: "solid",
                borderSize: 0,  
                borderColor: '#000000',  
            },
            attributes:{
                src:'http://img.static.g.jiaxunyouneng.com/5783ab339a8c0.jpg',
                name:'5783ab339a8c0',
                wechatRead:false
            },
            animations: [ ],  //动画
            events: [ ]  //事件
        },
        'text_2234':{
            id:'text_2234',
            type: "input",    
            name: "输入框",  
            compNum:4,   
            description: "",  
            hidden: false,    
            surface: {
                x: 100,    
                y: 400,   
                width: 150,   
                height: 30, 
                rotate: 0, 
                opacity: 1,
                border: "solid", 
                borderRadius: 3,  
                borderSize: 0,    
                borderColor: "#eee" 
            },
            attributes: { 
                type: "text",     
                required: "false",    
                name: "输入框名称",     
                placeholder: "请填写提示文字",   
                lineHeight: 1,    
                fontSize: 12,     
                color: "#333",    
                background: "#ffffff"
            },
            animations: [],   
            events: []    
        },
        'textarea_1234':{
            id:'textarea_1234',
            type: "textarea",
            name: "文本域",
            compNum:5,
            description: "",
            hidden: false,
            surface:{
                x: 100, 
                y: 490, 
                width: 200, 
                height: 150, 
                rotate: 0, 
                opacity: 1,
                border: "solid",
                borderColor: "#EEEEEE",
                borderRadius: 0,
                borderSize: 0
            },
            attributes: {   
                required: "true",
                name: "文本域名称",
                placeholder: "请填写提示文字",
                background: "#ffffff",
                color: "#333",
                fontSize: 12,
                lineHeight: 1
            },
            animations: [],
            events: []
        },
        'select_0101':{
            id:'select_0101',
            type: "select", 
            name: "下拉框",
            compNum:6,
            description: "", 
            hidden: false, 
            surface:{
                x: 100, 
                y: 450, 
                width: 200, 
                height: 30, 
                rotate: 0, 
                opacity: 1, 
                borderRadius: 0, 
                border: "solid", 
                borderSize: 0, 
                borderColor: "#000000"
            }, 
            attributes:{
                name: "选项名称", 
                options: "选项1,选项2,选项3", 
                fontSize: 12, 
                color: "#333", 
                background: "#ffffff"
            }, 
            animations: [],
            events: []
        }
    }

}

export const pagelist={
	[pageData1.id]:pageData1,
	[pageData2.id]:pageData2,
};

export const pageData=pageData1;


